import 'normalize.css'
import 'vant/lib/index.css'
import './assets/style/global.scss'

import { createApp } from 'vue'
import { createPinia } from 'pinia'


import App from './App.vue'
import router from './router'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'


const app = createApp(App)

app.use(createPinia().use(piniaPluginPersistedstate))
app.use(router)

import loginDirective from '@/directives/login'

app.directive("login",loginDirective)
app.mount('#app')
